#Caitlin exclusive item - buffs Caitlin's special moves by 20%
#and accuracy by 10%.
Battle::ItemEffects::DamageCalcFromUser.add(:SOULPRISM,
  proc { |item, user, target, move, mults, power, type|
    # Only activate for CAITLIN or CAITLIN2
    next if !user.isSpecies?(:CAITLIN) && !user.isSpecies?(:CAITLIN2)
    # Boost special moves by 20%
    mults[:power_multiplier] *= 1.2 if move.specialMove?
  }
)

Battle::ItemEffects::AccuracyCalcFromUser.add(:SOULPRISM,
  proc { |item, mods, user, target, move, type|
    next if !user.isSpecies?(:CAITLIN) && !user.isSpecies?(:CAITLIN2)
    mods[:accuracy_multiplier] *= 1.1
  }
)
#End of Soul Prism logic.

#--Plasma Pendant
Battle::ItemEffects::DamageCalcFromUser.add(:PLASMAPENDANT,
  proc { |item, user, target, move, mults, power, type|
    # Only boost physical moves
    next if !move.physicalMove?

    # Only boost Elesa and Elesa2 species
    next if !user.isSpecies?(:ELESA) && !user.isSpecies?(:ELESA2)

    # Apply 25% Attack boost
    mults[:attack_multiplier] *= 1.25
  }
)

#--End Plasma Pendant


#--Iridescent Pearls
Battle::ItemEffects::DamageCalcFromUser.add(:IRIDESCENTPEARLS,
  proc { |item, user, target, move, mults, power, type|
    # Species check (Misty and Misty2)
    next if !user.isSpecies?(:MISTY) && !user.isSpecies?(:MISTY2)

    # Boost Water-type move power by 10%
    mults[:power_multiplier] *= 1.10 if type == :WATER
  }
)

Battle::ItemEffects::AccuracyCalcFromUser.add(:IRIDESCENTPEARLS,
  proc { |item, mods, user, target, move, type|
    # Species check (Misty and Misty2)
    next if !user.isSpecies?(:MISTY) && !user.isSpecies?(:MISTY2)

    # Boost accuracy by 15%
    mods[:accuracy_multiplier] *= 1.15
  }
)

#--End Iridescent Pearls

#--Golden Bell
Battle::ItemEffects::DamageCalcFromUser.add(:GOLDENBELL,
  proc { |item, user, target, move, mults, power, type|
    # Only boost physical moves
    next if !move.physicalMove?

    # Only Whitney and Whitney2 species
    next if !user.isSpecies?(:WHITNEY) && !user.isSpecies?(:WHITNEY2)

    # Apply 25% Attack boost
    mults[:attack_multiplier] *= 1.25
  }
)

#--End Golden Bell

#--Golden Flower
Battle::ItemEffects::DamageCalcFromUser.add(:GOLDENFLOWER,
  proc { |item, user, target, move, mults, power, type|
    # Only Peach and Peach2 species
    next if !user.isSpecies?(:PEACH) && !user.isSpecies?(:PEACH2)

    # Boost Fire-type move power by 20%
    mults[:power_multiplier] *= 1.20 if type == :FIRE
  }
)

#--End of Golden Flower

#--Sprit Beads
Battle::ItemEffects::DamageCalcFromUser.add(:SPIRITBEADS,
  proc { |item, user, target, move, mults, power, type|
    # Only Phoebe species
    next if !user.isSpecies?(:PHOEBE)

    # Boost Ghost-type move power by 20%
    mults[:power_multiplier] *= 1.20 if type == :GHOST
  }
)

#--End of Spirit Beads

#--Toxic Ooze
Battle::ItemEffects::DamageCalcFromUser.add(:TOXICOOZE,
  proc { |item, user, target, move, mults, power, type|
    next if !user.isSpecies?(:LUSAMINE) && !user.isSpecies?(:LUSAMINE2)
    next if !move.specialMove?
    mults[:attack_multiplier] *= 1.20
  }
)

#--End of Toxic Ooze

#--Vintage Barrette
Battle::ItemEffects::DamageCalcFromTarget.add(:VINTAGEBARRETTE,
  proc { |item, user, target, move, mults, power, type|
    next if !target.isSpecies?(:DAISY)
    mults[:defense_multiplier] *= 1.25
  }
)

#--End of Vintage Barrette

#--End of Vintage Barrette

#--Snapped Spoon
Battle::ItemEffects::DamageCalcFromUser.add(:SNAPPEDSPOON,
  proc { |item, user, target, move, mults, power, type|
    next if !user.isSpecies?(:SABRINA) &&
            !user.isSpecies?(:SABRINA2) &&
            !user.isSpecies?(:SABRINA3)
    next if !move.specialMove?
    mults[:attack_multiplier] *= 1.20
  }
)
#--End of Snapped Spoon

#--Tickling Feather
# Flying-type move power boost (10%)
Battle::ItemEffects::DamageCalcFromUser.add(:TICKLINGFEATHER,
  proc { |item, user, target, move, mults, power, type|
    # Only Skyla species
    next if !user.isSpecies?(:SKYLA)

    # Boost Flying-type move power by 10%
    mults[:power_multiplier] *= 1.10 if type == :FLYING
  }
)

# Speed stat boost (20%)
Battle::ItemEffects::SpeedCalc.add(:TICKLINGFEATHER,
  proc { |item, battler, mult|
    next mult if !battler.isSpecies?(:SKYLA)
    next mult * 1.20
  }
)


#--End of Tickling Feather

#--Smooth Eggs
Battle::ItemEffects::DamageCalcFromTarget.add(:SMOOTHEGGS,
  proc { |item, user, target, move, mults, power, type|
    next if !target.isSpecies?(:CHERYL)
    mults[:defense_multiplier] *= 1.25
  }
)

#--End of Smooth Eggs


#--Fine Wine
Battle::ItemEffects::DamageCalcFromUser.add(:FINEWINE,
  proc { |item, user, target, move, mults, power, type|
    next if !user.isSpecies?(:MOM)
    next if !move.physicalMove?
    mults[:attack_multiplier] *= 1.20
  }
)
#--End of Fine Wine

#--Dragonscale Necklace
Battle::ItemEffects::DamageCalcFromUser.add(:DRAGONSCALENECKLACE,
  proc { |item, user, target, move, mults, power, type|
    # Only Clair species
    next if !user.isSpecies?(:CLAIR)

    # Boost Dragon-type move power by 25%
    mults[:power_multiplier] *= 1.25 if type == :DRAGON
  }
)

#--End of Dragonscale Necklace

#--Red-Trimmed Glasses
# Special Attack boost (15%)
Battle::ItemEffects::DamageCalcFromUser.add(:REDTRIMMEDGLASSES,
  proc { |item, user, target, move, mults, power, type|
    next if !user.isSpecies?(:LORELEI)
    next if !move.specialMove?
    mults[:attack_multiplier] *= 1.15
  }
)

# Accuracy boost (15%)
Battle::ItemEffects::AccuracyCalcFromUser.add(:REDTRIMMEDGLASSES,
  proc { |item, mods, user, target, move, type|
    # Only Lorelei species
    next if !user.isSpecies?(:LORELEI)

    # Apply 15% Accuracy boost
    mods[:accuracy_multiplier] *= 1.15
  }
)

#--End of Red-Trimmed Glasses

#--Radiant Orchid

Battle::ItemEffects::DamageCalcFromUser.add(:RADIANTORCHID,
  proc { |item, user, target, move, mults, power, type|
    # Only Erika species
    next if !user.isSpecies?(:ERIKA)

    # Boost Grass-type move power by 15%
    mults[:power_multiplier] *= 1.15 if type == :GRASS

    # Boost Poison-type move power by 15%
    mults[:power_multiplier] *= 1.15 if type == :POISON
  }
)

#--End of Radiant Orchid


#--Spicy Onigiri
# Attack boost (15%)
Battle::ItemEffects::DamageCalcFromUser.add(:SPICYONIGIRI,
  proc { |item, user, target, move, mults, power, type|
    next if !user.isSpecies?(:FLANNERY)
    next if !move.physicalMove?
    mults[:attack_multiplier] *= 1.15
  }
)

# Speed boost (15%)
Battle::ItemEffects::SpeedCalc.add(:SPICYONIGIRI,
  proc { |item, battler, mult|
    next mult if !battler.isSpecies?(:FLANNERY)
    next mult * 1.15
  }
)
#--End of Spicy Onigiri

#--Forest Poncho
Battle::ItemEffects::DamageCalcFromUser.add(:FORESTPONCHO,
  proc { |item, user, target, move, mults, power, type|
    # Only Gardenia species
    next if !user.isSpecies?(:GARDENIA)

    # Boost Grass-type move power by 25%
    mults[:power_multiplier] *= 1.25 if type == :GRASS
  }
)

#--End of Forest Poncho

#--Toxic Stilettos
Battle::ItemEffects::DamageCalcFromUser.add(:TOXICSTILETTOS,
  proc { |item, user, target, move, mults, power, type|
    next if !user.isSpecies?(:JESSIE)
    next if !move.physicalMove?
    mults[:attack_multiplier] *= 1.20
  }
)
#--End of Toxic Stilettos

#--R Admin Ring
Battle::ItemEffects::DamageCalcFromUser.add(:RADMINRING,
  proc { |item, user, target, move, mults, power, type|
    next if !user.isSpecies?(:ARIANA)
    next if !move.physicalMove?
    mults[:attack_multiplier] *= 1.20
  }
)
#--End of R Admin Ring

#--Analysis Visor
# Special Attack boost (15%)
Battle::ItemEffects::DamageCalcFromUser.add(:ANALYSISVISOR,
  proc { |item, user, target, move, mults, power, type|
    next if !user.isSpecies?(:BRYONY)
    next if !move.specialMove?
    mults[:attack_multiplier] *= 1.15
  }
)

# Accuracy boost (15%)
Battle::ItemEffects::AccuracyCalcFromUser.add(:ANALYSISVISOR,
  proc { |item, mods, user, target, move, type|
    # Only Bryony species
    next if !user.isSpecies?(:BRYONY)

    # Apply 15% Accuracy boost
    mods[:accuracy_multiplier] *= 1.15
  }
)

#--End of Analysis Visor

#--NeverMeltBall
Battle::ItemEffects::DamageCalcFromUser.add(:NEVERMELTBALL,
  proc { |item, user, target, move, mults, power, type|
    # Only Candice species
    next if !user.isSpecies?(:CANDICE)

    # Boost Ice-type move power by 25%
    mults[:power_multiplier] *= 1.25 if type == :ICE
  }
)

#--End of NeverMeltBall

#--Champion's Lipstick
Battle::ItemEffects::DamageCalcFromUser.add(:CHAMPIONSLIPSTICK,
  proc { |item, user, target, move, mults, power, type|
    # Only Cynthia species
    next if !user.isSpecies?(:CYNTHIA)

    # Boost Dragon-type move power by 20%
    mults[:power_multiplier] *= 1.20 if type == :DRAGON

    # Boost Ground-type move power by 20%
    mults[:power_multiplier] *= 1.20 if type == :GROUND
  }
)

#--End of Champion's Lipstick
